package com.bidevalution.dao.mapper;


import com.bidevalution.dao.entity.BeAutoVoteConfig;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface BeAutoVoteConfigMapper {
    int deleteByPrimaryKey(Integer seqId);

    int insert(BeAutoVoteConfig record);

    int insertSelective(BeAutoVoteConfig record);

    BeAutoVoteConfig selectByPrimaryKey(Integer seqId);

    int updateByPrimaryKeySelective(BeAutoVoteConfig record);

    int updateByPrimaryKey(BeAutoVoteConfig record);

    List<BeAutoVoteConfig> findBeAutoVotesByVoteLocation(@Param("voteLocation")String voteLocation);
}